#include <iostream>
#include <math.h>
using namespace std;

int main() {
    double r,v,pai;
    pai = 3.14;
    cin >> r;

    v = double(4)/double(3) * pai * pow(r, 3);
    printf("%.2f", v);
    return 0;
}